package org.itboys.kitchen.entity.mysql.income;

import org.itboys.mongodb.entity.BaseMySqlEntity;

import java.math.BigDecimal;



/**
 * 包名：com.hz.sunday.tianjie.entity
 * 作者 : 志强
 
 * Email: empty90911@126.com
 * 时间：2016年3月16日 下午2:32:57 
 * 描述:收益(钱包主表)主表
 *
 */
public class KitchenIncome extends BaseMySqlEntity{
	private Long memberId;//用户ID
	private BigDecimal totalRevenue;//总金额
	private BigDecimal ableRevenue;//可用金额
	private BigDecimal frozenRevenue;//冻结收益。提现/消费产生的

	public KitchenIncome() {
	}

	public KitchenIncome(Long memberId){

		this.memberId=memberId;
		this.totalRevenue=new BigDecimal("0");
		this.ableRevenue=new BigDecimal("0");
		this.frozenRevenue=new BigDecimal("0");
	}

	public Long getMemberId() {
		return memberId;
	}

	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}

	public BigDecimal getTotalRevenue() {
		return totalRevenue;
	}

	public void setTotalRevenue(BigDecimal totalRevenue) {
		this.totalRevenue = totalRevenue;
	}

	public BigDecimal getAbleRevenue() {
		return ableRevenue;
	}

	public void setAbleRevenue(BigDecimal ableRevenue) {
		this.ableRevenue = ableRevenue;
	}

	public BigDecimal getFrozenRevenue() {
		return frozenRevenue;
	}

	public void setFrozenRevenue(BigDecimal frozenRevenue) {
		this.frozenRevenue = frozenRevenue;
	}
}
